package com.trela.paymeontime.web.model.dao;

import java.util.Collection;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.trela.paymeontime.web.model.Asset;
import com.trela.paymeontime.web.model.Payment;

@Repository
public class DAO {
    MockDAO mockPaymentsDAO = new MockDAO();
    
    public Collection<Payment> getPayments() {
        return mockPaymentsDAO.getPayments();
    }

    
    public List<Asset> getAssets(){
        return mockPaymentsDAO.getAssets();
    }
}
